<ui:composition template="/WEB-INF/templates/test-template.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ats-std="http://java.sun.com/jsf/composite/components/student">

	<ui:define name="main-content">
	
		<h:form>
			<h:panelGrid columns="3" cellspacing="5">

				<p:panel id="std1" header="#{tstStudentsMB.firstEntity.firstName} #{tstStudentsMB.firstEntity.familyName}"  style="margin:20px">
					<ats-std:stdCard
						selectedEntity="#{tstStudentsMB.firstEntity}" />
				</p:panel>

				<p:panel id="std2" header="#{tstStudentsMB.secondEntity.firstName} #{tstStudentsMB.secondEntity.familyName}"  style="margin:20px">
					<ats-std:stdCard
						selectedEntity="#{tstStudentsMB.secondEntity}" />
				</p:panel>

				<p:panel id="std3" header="#{tstStudentsMB.thirdEntity.firstName} #{tstStudentsMB.thirdEntity.familyName}"  style="margin:20px;">
					<ats-std:stdCard
						selectedEntity="#{tstStudentsMB.thirdEntity}" />
				</p:panel>
				
				<p:panel id="std6" header="#{tstStudentsMB.thirdEntity.firstName} #{tstStudentsMB.thirdEntity.familyName}"  style="margin:20px;">
					<ats-std:stdCard
						selectedEntity="#{tstStudentsMB.thirdEntity}" />
				</p:panel>		
				
				<p:panel id="std5" header="#{tstStudentsMB.secondEntity.firstName} #{tstStudentsMB.secondEntity.familyName}"  style="margin:20px">
					<ats-std:stdCard
						selectedEntity="#{tstStudentsMB.secondEntity}" />
				</p:panel>						

				<p:panel id="std4" header="#{tstStudentsMB.firstEntity.firstName} #{tstStudentsMB.firstEntity.familyName}"  style="margin:20px">
					<ats-std:stdCard
						selectedEntity="#{tstStudentsMB.firstEntity}" />
				</p:panel>


				<p:panel id="std8" header="#{tstStudentsMB.secondEntity.firstName} #{tstStudentsMB.secondEntity.familyName}"  style="margin:20px">
					<ats-std:stdCard
						selectedEntity="#{tstStudentsMB.secondEntity}" />
				</p:panel>
				
				<p:panel id="std7" header="#{tstStudentsMB.firstEntity.firstName} #{tstStudentsMB.firstEntity.familyName}"  style="margin:20px">
					<ats-std:stdCard
						selectedEntity="#{tstStudentsMB.firstEntity}" />
				</p:panel>

				<p:panel id="std9" header="#{tstStudentsMB.thirdEntity.firstName} #{tstStudentsMB.thirdEntity.familyName}"  style="margin:20px;">
					<ats-std:stdCard
						selectedEntity="#{tstStudentsMB.thirdEntity}" />
				</p:panel>				

			</h:panelGrid>
		</h:form>


	</ui:define>

</ui:composition>
